package com.candy.bean;
//将student封装为一个javabean
//javaweb中移动要包含一个无参构造函数
//要提供setter与getter方法
public class Student {
     private int stuNo;
     private String stuName;
     private boolean stuSex;

    public int getStuNo() {
        return stuNo;
    }

    public void setStuNo(int stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public boolean isStuSex() {
        return stuSex;
    }

    public void setStuSex(boolean stuSex) {
        this.stuSex = stuSex;
    }
}
